<template>
	<view>
		<view class="flex flex-between">
			<view>
				<text class="text-size-lg text-black text-weight-b" :class="[black_theme ? 'text-grey-lighten-1' : '']">{{ title }}</text>
			</view>
			<view class="flex flex-center" v-if="value">
				<view class="mr-10">
					<text class="text-size-n text-grey-lighten-1">{{ value }}</text>
				</view>
				<tm-icons name="icon-angle-right" color="grey"></tm-icons>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"c-title",
		props: {
			title: {
				type: String,
				default: '通用标题'
			},
			value: {
				type: String,
				default: ''
			}
		},
		computed: {
			black_theme: function() {
				return this.$tm.vx.state().tmVuetify.black;
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style>

</style>
